package com.qiangesoft.blog.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiangesoft.blog.common.mvc.PageQuery;
import com.qiangesoft.blog.common.mvc.PageResultVO;
import com.qiangesoft.blog.common.result.ResponseResult;
import com.qiangesoft.blog.core.entity.BlogFriendChain;
import com.qiangesoft.blog.system.pojo.vo.BlogFriendChainVO;

import java.util.List;

/**
 * <p>
 * 友情链接 服务类
 * </p>
 *
 * @author qiange
 * @since 2023-06-05
 */
public interface IBlogFriendChainService extends IService<BlogFriendChain> {

    PageResultVO<BlogFriendChain> listFriendLink(PageQuery pageQuery, String name, Integer status);

    ResponseResult insertFriendLink(BlogFriendChain friendLink);

    ResponseResult updateFriendLink(BlogFriendChain friendLink);

    ResponseResult deleteBatch(List<Integer> ids);

    ResponseResult top(Long id);


    //    ----web端开始-----
    List<BlogFriendChainVO> webFriendLinkList();

    void applyFriendLink(BlogFriendChain friendLink);
}
